package com.zxc.mallCoupon;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@MapperScan("com.zxc.mallCoupon.dao")
@EnableDiscoveryClient // 允许nacos注册中心发现
@SpringBootApplication
//@SpringBootApplication(exclude= {DruidDataSourceAutoConfigure.class , DataSourceAutoConfiguration.class})
public class SpringBootStart_mallCoupon {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootStart_mallCoupon.class , args);
    }
}
